<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta content='建议与想法 - ' name='description'>
<meta content='True' name='HandheldFriendly'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<jsp:include page="/public/header-meta.jsp"></jsp:include>
<title>编辑用户发帖</title>
<body id="startbbs">
<jsp:include page="/public/header.jsp"></jsp:include>
<div id="wrap"><div class="container" id="page-main"><div class="row"><div class='col-xs-12 col-sm-6 col-md-8'>

<div class='box'>
<div class='box-header'>
编辑话题
</div>
<div class='inner row'>
<!--<div class='alert alert-info'>如果标题已经包含你想说的话，内容可以留空。</div>-->
<form accept-charset="UTF-8" action="updatetopic?topic.tID=${topic[0].tid}&users.uid=${bbsUser.uid}" class="simple_form form-vertical" id="new_topic" method="post" novalidate="novalidate">
<div style="margin:0;padding:0;display:inline">
</div>
<a name='new_topic'></a>
<div class="form-group string required">
<div class="col-md-6">
<label class="string required control-label" for="topic_title">标题</label>
<input class="form-control" id="topic_title" maxlength="100" name="topic.Ttopic" size="60" type="text" value="${topic[0].ttopic}" /></div>

</div>

<div class="form-group optional" style="width:300px; margin-left: 15px; margin-top: 10px;">
<label for="category">版块</label>

<%--<span class="help-inline red">显示error</span>
--%></div>
<!--<div id='preview-widget'>
<a href="javascript:void(0);" class="action_label cancel_preview current_label" data-ref="topic_content">编辑</a>
</div>-->
<ul class="nav nav-tabs" style="margin-left: 15px; margin-right: 15px;border-bottom: 0px solid #999;height:20px">
  <li class="active"><a style="background-color: #eee;" href="#">编辑区</a></li>

  <li class="pull-right">

	<span id='upload-tip' class="btn btn-default" value="图片/附件">上传图片</span>

	<input id="upload_tip" type="button" value="图片/附件"  class="btn btn-default">
<!--	<input type="button" onclick="doUpload()" value="图片/附件"  class="btn btn-default">-->

	  </li>

</ul>
<div class="form-group text optional">
<div class="col-md-12" id="textContain">
<textarea class="form-control" id="topic_content" name="topic.Tcontents" placeholder="话题内容" rows="10">${topic[0].tcontents}
</textarea>
<%--<span class="help-inline red">"显示错误信息"</span>
--%></div>
</div>
<div class="col-sm-9">
<input class="btn btn-primary btn-inverse" data-disable-with="正在提交" name="commit" type="submit" value="修改" />
</div>
</form>

</div>
</div>

</div>
<div class='col-xs-12 col-sm-6 col-md-4' id='Rightbar'>
</div>
</div></div></div>
</body>
<jsp:include page="/public/footer.jsp"></jsp:include>
